package cn.superchart.module.role.param;

import cn.superchart.common.base.BaseParam;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class ScRoleAssignParam extends BaseParam {

    /** 用户ID */
    @NotBlank(message = "userId 必填")
    private String userId;


    @NotEmpty(message = "请选择要分配的角色")
    private List<String> roleIds;


}
